package cn.kin.pojo;
//库存
public class Stock {
    private Integer id;//编号

   /* private Integer articleType;*/
    private DataDictionary articleType;//物品类型

    private String articleName;//物品名称

    private String unit;//单位

    private Integer number;//数量

    private String describe;//描述

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    
 /*   public Integer getArticleType() {
        return articleType;
    }

    public void setArticleType(Integer articleType) {
        this.articleType = articleType;
    }*/

    public DataDictionary getArticleType() {
		return articleType;
	}

	public void setArticleType(DataDictionary articleType) {
		this.articleType = articleType;
	}

	public String getArticleName() {
        return articleName;
    }

    public void setArticleName(String articleName) {
        this.articleName = articleName == null ? null : articleName.trim();
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit == null ? null : unit.trim();
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe == null ? null : describe.trim();
    }
}